package com.example.service;


import com.example.entity.Orderdetail;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface OrderdetailService {
    PageInfo<Orderdetail> queryAll(Integer pageNum, Integer pageSize);

    int deleteById(Integer id);

    Orderdetail findById(Integer id);

    int update(Orderdetail orderdetail);

    int insert(Orderdetail orderdetail);

    Orderdetail findByOid(Integer id);


}
